package com.briup.day10;

import com.briup.day11.transform.Base;
import com.briup.day11.transform.Derived;

public class Test_Transform {
    public static void main(String[] args) {
        //向上转型功能测试（隐式/自动转换）
        Base base = new Derived();
        System.out.println(base.n);//1父类的值
        base.show();
    }
}
